//
//  YBGoodWorking.h
//  shortvideoplay
//
//  Created by tikeios_002 on 2024/7/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YBGoodWorking : NSObject
typedef void (^PullGoodSuccessBlock)(NSDictionary *data,NSInteger code,NSString *msg);
@property (nonatomic, strong) AFHTTPSessionManager * goodmanager;

+ (instancetype)share;
/**
 网络封装
 @param url 接口名称
 @param dic 接口参数dic
 @param sucBack 成功回调
 @param failBack 失败回调
 */
+(void)postWithUrl:(NSString *)url Dic:(NSMutableDictionary *)dic Suc:(PullGoodSuccessBlock)sucBack;
@end

NS_ASSUME_NONNULL_END
